Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Problematic frame: nnotes.dll+0x1706
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: Always

I'm using the Java Notes-API with Notes Client 8.5 FP2. Time by time (~ 1 hour) my Java application crashes while iterating through a document collection.

This is the code how it looks like:

class NotesQueryWorker extends NotesThread {
public NotesQueryWorker() {

public void runNotes() {

Session session=null;
Database db=null;

String password = "secret";
String server= "someone";
String databaseFile = "mail/huhu.nsf";
String searchFilter = "Form=\"Appointment\"";

try {
session = NotesFactory.createSession((String)null, (String)null, password);

db = session.getDatabase(server, databaseFile);
if (!db.isOpen()) {
db.open();
}

docColl = db.search(searchFilter);
int docCollCount = docColl.getCount();

if (docCollCount > 0) {
Document doc = docColl.getFirstDocument();
Document docMerker=null;
while (doc != null) {
//do something


docMerker = docColl.getNextDocument();
doc.recycle();
doc=docMerker;
}
}
}
catch (Throwable t) {
t.printStackTrace();
}
finally {
if (db != null) {
try {
db.recycle();
}
catch (Exception ex) {}
}
if (session != null) {
try {
session.recycle();
}
catch (Exception ex) {}
}
}
}

When the application crashes this files will be created:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x60001706, pid=4292, tid=4556
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpot(TM) Server VM (17.0-b17 mixed mode windows-x86 )
# Problematic frame:
# C [nnotes.dll+0x1706]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x28b54400): JavaThread "Thread-4456" [_thread_in_native, id=4556, stack(0x29140000,0x29190000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x000001e3

Registers:
EAX=0x000011cc, EBX=0x000011cc, ECX=0x00000000, EDX=0x29a66a98
ESP=0x2918f77c, EBP=0x2918f788, ESI=0x0000019a, EDI=0x000010c4
EIP=0x60001706, EFLAGS=0x00010206

Top of Stack: (sp=0x2918f77c)
0x2918f77c: 0000019a 00000000 00000000 2918f7b8
0x2918f78c: 61cf4a78 0000019a 00000000 29a78d18
0x2918f79c: 00000001 0000019a 00000000 0000019a
0x2918f7ac: 2918f7f8 61e114e3 ffffffff 2918f804
0x2918f7bc: 61d26127 00000000 29a78d18 28b54400
0x2918f7cc: 03eacf60 03eacf60 28b54518 2918f8d8
0x2918f7dc: 27a62090 31fcbe84 00000000 00000000
0x2918f7ec: 00004546 00000000 0018f860 2918f87c

Instructions: (pc=0x60001706)
0x600016f6: 8b 3d ac ca 1d 61 e8 ff a9 1d 00 8b 75 08 8b d8
0x60001706: 39 5e 49 75 0f 39 7e 45 75 0a 39 5e 49 75 05 39


Stack: [0x29140000,0x29190000], sp=0x2918f77c, free space=13d2918f2b8k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [nnotes.dll+0x1706]
C [nlsxbe.dll+0x34a78]
C [nlsxbe.dll+0x66127]
C [nlsxbe.dll+0x6702f]
j lotus.domino.local.DocumentCollection.NgetNextDocument(Llotus/domino/local/Document;)J+0

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j lotus.domino.local.DocumentCollection.NgetNextDocument(Llotus/domino/local/Document;)J+0
J de.telesnap.calendarserver.E.B.B.A.A$A.runNotes()V
j lotus.domino.NotesThread.run()V+40
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x28379400 JavaThread "Thread-4457" [_thread_blocked, id=348, stack(0x2aaf0000,0x2ab40000)]
0x283a9400 JavaThread "NotesGCThread1500" daemon [_thread_in_native, id=5752, stack(0x2aaa0000,0x2aaf0000)]
=>0x28b54400 JavaThread "Thread-4456" [_thread_in_native, id=4556, stack(0x29140000,0x29190000)]
0x27f36400 JavaThread "CMGNotesSubscribeModifiyAppointmentsThread queueNumber=0" [_thread_blocked, id=5856, stack(0x290f0000,0x29140000)]
0x27fec400 JavaThread "Timer-7" [_thread_blocked, id=6048, stack(0x28570000,0x285c0000)]
0x27e61c00 JavaThread "Timer-6" [_thread_blocked, id=5352, stack(0x29310000,0x29360000)]
0x28281400 JavaThread "Timer-5" [_thread_blocked, id=5972, stack(0x29290000,0x292e0000)]
0x28a17800 JavaThread "Thread-8" [_thread_in_native, id=1096, stack(0x28fb0000,0x29000000)]
0x281da800 JavaThread "Timer-4" [_thread_blocked, id=4824, stack(0x290a0000,0x290f0000)]
0x28b88800 JavaThread "Timer-3" [_thread_blocked, id=5192, stack(0x29050000,0x290a0000)]
0x28b88400 JavaThread "Timer-2" [_thread_blocked, id=4924, stack(0x29000000,0x29050000)]
0x28aba400 JavaThread "Thread-3" [_thread_in_native, id=572, stack(0x28f60000,0x28fb0000)]
0x28232000 JavaThread "Thread-1" [_thread_in_native, id=6068, stack(0x28710000,0x28760000)]
0x27f73400 JavaThread "Timer-1" [_thread_blocked, id=4456, stack(0x286c0000,0x28710000)]
0x27e7ac00 JavaThread "Timer-0" daemon [_thread_blocked, id=5372, stack(0x285d0000,0x28620000)]
0x00306c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=952, stack(0x00660000,0x006b0000)]
0x281dc800 JavaThread "Wrapper-Connection" [_thread_in_native, id=4708, stack(0x284a0000,0x284f0000)]
0x281ba000 JavaThread "Wrapper-Control-Event-Monitor" daemon [_thread_blocked, id=5284, stack(0x28050000,0x280a0000)]
0x27ab5800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5004, stack(0x27d70000,0x27dc0000)]
0x27ab3000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=4352, stack(0x27d20000,0x27d70000)]
0x27aad400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5092, stack(0x27cd0000,0x27d20000)]
0x27aab800 JavaThread "Attach Listener" daemon [_thread_blocked, id=5264, stack(0x27c80000,0x27cd0000)]
0x27aaa400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3880, stack(0x27c30000,0x27c80000)]
0x27a9b400 JavaThread "Finalizer" daemon [_thread_blocked, id=5908, stack(0x27be0000,0x27c30000)]
0x27a96800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5464, stack(0x27b90000,0x27be0000)]

Other Threads:
0x27a94000 VMThread [stack: 0x27b40000,0x27b90000] [id=328]
0x27ab7800 WatcherThread [stack: 0x27dc0000,0x27e10000] [id=5636]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 43584K, used 5614K [0x1cd00000, 0x20670000, 0x277a0000)
eden space 36928K, 15% used [0x1cd00000,0x1d27b9f0,0x1f110000)
from space 6656K, 0% used [0x1f110000,0x1f110000,0x1f790000)
to space 7232K, 0% used [0x1ff60000,0x1ff60000,0x20670000)
PSOldGen total 46528K, used 26488K [0x077a0000, 0x0a510000, 0x1cd00000)
object space 46528K, 56% used [0x077a0000,0x0917e0a0,0x0a510000)
PSPermGen total 18944K, used 8366K [0x037a0000, 0x04a20000, 0x077a0000)
object space 18944K, 44% used [0x037a0000,0x03fcba18,0x04a20000)

Dynamic libraries:
0x00400000 - 0x00424000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\java.exe
0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll
0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
0x77f50000 - 0x77feb000 C:\WINDOWS\system32\ADVAPI32.dll
0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
0x76f50000 - 0x76f63000 C:\WINDOWS\system32\Secur32.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\msvcr71.dll
0x6db80000 - 0x6dfc3000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\server\jvm.dll
0x77380000 - 0x77411000 C:\WINDOWS\system32\USER32.dll
0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll
0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll
0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\msvcrt.dll
0x71c40000 - 0x71c97000 C:\WINDOWS\system32\NETAPI32.dll
0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
0x6d860000 - 0x6d86c000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\java.dll
0x6d340000 - 0x6d348000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\hpi.dll
0x6d8a0000 - 0x6d8af000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\zip.dll
0x28020000 - 0x28032000 C:\Program Files\Aastra\Calendar Connection\service\lib\wrapper.dll
0x6d6c0000 - 0x6d6d3000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\net.dll
0x71c00000 - 0x71c17000 C:\WINDOWS\system32\WS2_32.dll
0x71bf0000 - 0x71bf8000 C:\WINDOWS\system32\WS2HELP.dll
0x71b20000 - 0x71b61000 C:\WINDOWS\system32\mswsock.dll
0x5f270000 - 0x5f2ca000 C:\WINDOWS\system32\hnetcfg.dll
0x71ae0000 - 0x71ae8000 C:\WINDOWS\System32\wshtcpip.dll
0x28620000 - 0x2862e000 C:\Program Files\Aastra\Calendar Connection\service\bin\TsCoding_WIN.dll
0x76ed0000 - 0x76efa000 C:\WINDOWS\system32\DNSAPI.dll
0x76f70000 - 0x76f77000 C:\WINDOWS\System32\winrnr.dll
0x76f10000 - 0x76f3e000 C:\WINDOWS\system32\WLDAP32.dll
0x76f80000 - 0x76f85000 C:\WINDOWS\system32\rasadhlp.dll
0x286a0000 - 0x286ab000 C:\Program Files\Aastra\Calendar Connection\service\bin\TsProcessID_WIN.dll
0x61cc0000 - 0x61ec4000 C:\Program Files\IBM\Lotus\Notes\nlsxbe.dll
0x62000000 - 0x62315000 C:\Program Files\IBM\Lotus\Notes\nxmlproc.dll
0x7c3a0000 - 0x7c41b000 C:\WINDOWS\system32\MSVCP71.dll
0x60000000 - 0x613ec000 C:\Program Files\IBM\Lotus\Notes\nnotes.dll
0x761b0000 - 0x76243000 C:\WINDOWS\system32\CRYPT32.dll
0x76190000 - 0x761a2000 C:\WINDOWS\system32\MSASN1.dll
0x618d0000 - 0x61929000 C:\Program Files\IBM\Lotus\Notes\js32.dll
0x623d0000 - 0x625a5000 C:\Program Files\IBM\Lotus\Notes\NLSCCSTR.DLL
0x77d00000 - 0x77d8b000 C:\WINDOWS\system32\OLEAUT32.dll
0x77670000 - 0x777a9000 C:\WINDOWS\system32\ole32.dll
0x645f0000 - 0x64a56000 C:\Program Files\IBM\Lotus\Notes\nsdhelp.dll
0x77b90000 - 0x77b98000 C:\WINDOWS\system32\VERSION.dll
0x71bd0000 - 0x71be1000 C:\WINDOWS\system32\MPR.dll
0x76920000 - 0x769e2000 C:\WINDOWS\system32\USERENV.dll
0x61f40000 - 0x61f46000 C:\Program Files\IBM\Lotus\Notes\ndgts.dll
0x62990000 - 0x629be000 C:\Program Files\IBM\Lotus\Notes\LTOUIN22.dll
0x7c8d0000 - 0x7d0ce000 C:\WINDOWS\system32\SHELL32.dll
0x77da0000 - 0x77df2000 C:\WINDOWS\system32\SHLWAPI.dll
0x77420000 - 0x77523000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll
0x6d610000 - 0x6d619000 C:\Program Files\Java\jdk1.6.0_21\jre\bin\management.dll
0x619d0000 - 0x61af0000 C:\Program Files\IBM\Lotus\Notes\NSTRINGS.DLL
0x61b00000 - 0x61b06000 C:\Program Files\IBM\Lotus\Notes\namhook.DLL
0x2b340000 - 0x2b351000 C:\Program Files\IBM\Lotus\Notes\icc\icclib\icclib.dll
0x2b630000 - 0x2b6ef000 C:\Program Files\IBM\Lotus\Notes\icc\osslib\libeay32.dll
0x71bb0000 - 0x71bb9000 C:\WINDOWS\system32\WSOCK32.dll
0x61970000 - 0x6198f000 C:\Program Files\IBM\Lotus\Notes\nNTCP.DLL
0x76cf0000 - 0x76d0a000 C:\WINDOWS\system32\IPHLPAPI.DLL
0x61b20000 - 0x61b2b000 C:\Program Files\IBM\Lotus\Notes\nTCP.DLL
0x61b40000 - 0x61b4e000 C:\Program Files\IBM\Lotus\Notes\nNETBIOS.DLL

VM Arguments:
jvm_args: -Xms64m -Xmx512m -Djava.library.path=../lib;C:\Program Files\IBM\Lotus\Notes -Dwrapper.key=JnvHBmlKDZKRac2I -Dwrapper.port=32000 -Dwrapper.use_system_time=TRUE -Dwrapper.version=3.1.2 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=3
java_command: org.tanukisoftware.wrapper.WrapperStartStopApp de.telesnap.calendarserver.server.CalendarServer 0 de.telesnap.calendarserver.server.Shutdown TRUE 0
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\IBM\Lotus;C:\Program Files\IBM\Lotus\Notes
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 10, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows Server 2003 family Build 3790 Service Pack 2

CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 4 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht

Memory: 4k page, physical 3669472k(2806488k free), swap 5606960k(4840324k free)

vm_info: Java HotSpot(TM) Server VM (17.0-b17) for windows-x86 JRE (1.6.0_21-b07), built on Jul 17 2010 01:03:51 by "java_re" with MS VC++ 7.1 (VS2003)

time: Thu Apr 14 14:56:17 2011
elapsed time: 5515 seconds

Where is the problem?

For every kind of help I'm very grateful.


Feedback number WEBB8FXAPD created by ~Joseph Asawevitchetsi on 04/15/2011

Status: Open
Comments:





Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS